package com.slipper.system.role.bo;

import com.slipper.common.bo.CommonBO;

/**
 * 角色信息表
 */
public class RoleBO extends CommonBO {
    /* 角色ID */
    private String id;
    /* 角色ID */
    private String[] ids;
    /* 角色名称 */
    private String name;
    /* 是否系统管理员 */
    private String admin;
    private String createId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建时间 */
    private Long createTime;

    private String onlyCreateId;
    private String employeeId;
    private String[] privilegeIds;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String[] getIds() {
        return ids;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String[] getPrivilegeIds() {
        return privilegeIds;
    }

    public void setPrivilegeIds(String[] privilegeIds) {
        this.privilegeIds = privilegeIds;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getOnlyCreateId() {
        return onlyCreateId;
    }

    public void setOnlyCreateId(String onlyCreateId) {
        this.onlyCreateId = onlyCreateId;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public String toString() {
        return "RoleBO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", admin='" + admin + '\'' +
                '}';
    }
}
